package com.example.teacherservice.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PracticeCreateDTO {
    @NotBlank(message = "实践名称不能为空")
    private String praName;

    @NotBlank(message = "实践地点不能为空")
    private String praSite;

    @NotBlank(message = "实践内容不能为空")
    private String praMain;

    @NotNull(message = "关联课程不能为空")
    private Long couId;

    @NotNull(message = "开始时间不能为空")
    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private String description;
    private String location;
}
